package com.thingsgrid.basicInterface.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2019-08-10
 */
@Data
@Builder
@TableName("blade_api_type_relation")
@ApiModel(value = "接口数据包关系对象", description = "接口数据包关系对象")
public class ApiInterfaceTypeRelation implements Serializable {

	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.ID_WORKER)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;


	@JsonSerialize(using = ToStringSerializer.class)
	private Long apiId;

	@JsonSerialize(using = ToStringSerializer.class)
	private Long typeId;

}
